package gp;

/**
 * This class combines a program and its computed fitness values.
 */
class Individual {
	public Program program;
	double standardizedFitness;
	int hits;

	Individual(Program p) {
		program = (Program) p.clone();
		standardizedFitness = 0.0;
	}

	Individual copy() {
		Individual newInd = new Individual(this.program);
		newInd.standardizedFitness = this.standardizedFitness;
		return newInd;
	}

}